package com.handpay.zztong.hp.onlineshop.model.marketorder;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * @author sxshi on 2017/3/1.
 * @email:emotiona_xiaoshi@126.com
 * @describe:分销系统订单信息
 */

public class MarketOrderDetailBean extends ResponseBean{
    private String orderNo;
    private String amount;
    private String transSeq;
    private String goodsName;

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getTransSeq() {
        return transSeq;
    }

    public void setTransSeq(String transSeq) {
        this.transSeq = transSeq;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    @Override
    public String toString() {
        return "MarketOrderDetailBean{" +
                "orderNo='" + orderNo + '\'' +
                ", amount='" + amount + '\'' +
                ", transSeq='" + transSeq + '\'' +
                ", goodsName='" + goodsName + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.orderNo);
        dest.writeString(this.amount);
        dest.writeString(this.transSeq);
        dest.writeString(this.goodsName);
    }

    public MarketOrderDetailBean() {
    }

    protected MarketOrderDetailBean(Parcel in) {
        super(in);
        this.orderNo = in.readString();
        this.amount = in.readString();
        this.transSeq = in.readString();
        this.goodsName = in.readString();
    }

    public static final Creator<MarketOrderDetailBean> CREATOR = new Creator<MarketOrderDetailBean>() {
        @Override
        public MarketOrderDetailBean createFromParcel(Parcel source) {
            return new MarketOrderDetailBean(source);
        }

        @Override
        public MarketOrderDetailBean[] newArray(int size) {
            return new MarketOrderDetailBean[size];
        }
    };
}
